<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<h1>Create Employee</h1>
아이디 :
<input type="text" id="id" name="id">
<input type="button"  class="btn" onclick="validateId()" value="중복검사">
<br>
비밀번호 :
<input type="password" id="password" name="password">
<br>
이름 :
<input type="text" id="name" name="name">
<br>
Email :
<input type="text" id="email" name="email">
<br>
Phone :
<input type="text" id="phone" name="phone">
<br>
주소 :
<input type="text" id="addr" name="addr">
<br>
부서번호 :
<select id="deptNo" name="deptNo">
	<c:forEach var="deptlist" items="${deptList }">
		<option value="${deptlist.deptNo }">${deptlist.deptName }</option>
	</c:forEach>
</select>
<div class="teamNo_tab">
	팀번호 : <select id="teamNo" name="teamNo">
		<c:forEach var="teamList" items="${teamlist }">
			<option value="${teamList.teamNo }">${teamList.teamName }</option>
		</c:forEach>
	</select>
</div>
직위 : <select id="position" name="position">
	<c:forEach var="positionName" items="${pos }">
		<option value="${positionName.positionNo }">${positionName.positionName
			}</option>
	</c:forEach>
</select>

<br>
<input type="button" class="btn" onclick="addNewEmployee()" value="등록">
